import {ORDERSTATE} from './config'
const list = {
  orderState:value => (ORDERSTATE[value] || '未知'), // 订单状态
}
export default {
  install:function(Vue){
    for(let k of Object.keys(list)){
      Vue.filter(k,value=>(!value ? value : list[k](value)))
    }
  }
}